package com.chenfan.ccp.plug.business.send;

import com.chenfan.ccp.plug.business.entity.BusinessLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.Ordered;

/**
 * @author xutong
 */
@Slf4j
public class LocalLogSender extends AbstractLogSender implements Ordered {
    @Override
    public boolean send(BusinessLog businessLog) {
        log.warn("系统日志记录失败日志详情====={}", businessLog);
        return true;
    }

    @Override
    public int getOrder() {
        return 2;
    }
}
